package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 球员等级
 */
@Entity
@Setter
@Getter
@ToString
public class FootDj extends BaseEntity implements Serializable {
    @Column(name = "djbm", length = 20)
    @NotNull
    private String djbm;
    @Column(name = "qydj", length = 200)
    @NotNull
    private String qydj;
    @Column(name = "qysj", precision = 22)
    @NotNull
    private Double qysj;
    @Column(name = "color", length = 50)
    private String color;
    @Column(name = "pf_from")
    private Integer pfFrom;
    @Column(name = "pf_to")
    private Integer pfTo;
    @Column(name = "init_ratio")
    private Integer initRatio;
    @Column(name = "max_ratio")
    private Integer maxRatio;
    @Column(name = "sort")
    private Integer sort;
}